import { Layout } from '@/router/constant';
import type { AppRouteRecordRaw } from '@/router/types';

export const AdverbRoute: AppRouteRecordRaw = {
  path: '/bussiness',
  name: `Adverb`,
  component: Layout,
  meta: {
    title: '商户管理',
    hideBreadcrumb: true,
  },
  children: [
    {
      path: 'list',
      name: 'BussinessList',
      component: () => import('@/views/business/list/index.vue'),
      meta: {
        title: '商户在线登记',
        hideBreadcrumb: true,
      },
    },
    {
      path: 'order',
      name: 'BussinessOrder',
      component: () => import('@/views/business/list/order.vue'),
      meta: {
        title: '商户账单上传',
        hideBreadcrumb: true,
      },
    },
  ],
};
